<template>
    <ul>
        <li v-for="item in Listarrdata" :key="item.id" class="listdata" @click="()=>details(item)">
            <el-descriptions :title='item.name'>
                <el-descriptions-item label="资源类型">{{ item.type }}</el-descriptions-item>
                <el-descriptions-item label="所属主题">{{ item.themes }}</el-descriptions-item>
                <el-descriptions-item label="更新时间">{{ item.time }}</el-descriptions-item>
            </el-descriptions>
        </li>
    </ul>

</template>

<script>
export default {
    props:['Listarrdata'],
    data() {
        return {
           
        }
    },
    methods:{
        details(val){
            console.log(val);
        }
    }

}
</script>

<style>
.listdata{
    height: 50spx;
    padding-top: 10px;
    border-bottom: 1px gray solid;
}
</style>